using System;
using Castle.ActiveRecord;

namespace Karma.Framework.Core.Metadata.Mapping
{
    [ActiveRecord("[LinkQuery]")]
    public class LinkQuery : Query
    {

        [JoinedKey]
        public override Int64 Id { get; set; }

        [BelongsTo(NotNull = true, NotFoundBehaviour = NotFoundBehaviour.Exception)]
        public EntityField Field { get; set; }

    }
}